package com.example.seckill.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.seckill.pojo.UserRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import javax.annotation.ManagedBean;


@Mapper
public interface UserRoleMapper extends BaseMapper<UserRole> {

    @Select("delete from user_role where user_id=#{userId}")
    void deleteByUserRoleId(Long userId);


}
